$(function () {
    $('.home-panel div').click(function () {
        var url = '/activiti/processManager/?id='+$(this).find("input[type=hidden]").val();
        var obj = {url:url,title:'项目列表'};
        parent.changeIframeSrc(obj);
    });
    $('.quick-go button').click(function () {
        quickGoClick(this);
    });
});
/**
* @description：快速入口栏事件
* @author: pmq
* @time: 2017/6/20 23:32
* @param:[dom:相应button的dom]
*/
function quickGoClick(dom) {
    if(dom.id == "to_do_list"){
        alert(dom.innerText);
    }else if(dom.id == "near_project"){
        alert(dom.innerText);
    }else if(dom.id == "quick_entr"){
        alert(dom.innerText);
    }
}